package pers.bbw.crr.dto.base;

import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.Min;
import lombok.Data;


@Data
public class BaseSearchDto implements BaseDto {

    @ApiModelProperty(value = "当前页码")
    @Min(value = 1, message = "当前页码不能为小于1的正整数")
    private Integer pageNum = 1;

    @ApiModelProperty(value = "页面显示数量")
    @Min(value = 1, message = "页面显示数量不能为小于1的正整数")
    private Integer pageSize = 10;

}
